//
//  NSString+Extension.h
//  DDLock
//
//  Created by ios on 2017/12/26.
//  Copyright © 2017年 saiyi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Extension)

//检测字符串是否是纯数字
+ (BOOL)isNumber:(NSString *)num;

//检测字符串是否是数字或字母组成
+ (BOOL)isNumberOrLetter:(NSString *)num;

//检测是否是手机号码
+ (BOOL)isMobileNumber:(NSString *)mobileNum;

//判断字符串是否为空或者都是空格
+ (BOOL)isBlankString:(NSString *)string;



@end
